<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />	
	<title>后台首页 - 欢迎使用商城系统</title>
	<link type="text/css" rel="stylesheet" href="__COMMON__/css/style.css" />
	<script type="text/javascript" src="../../include/js/jquery.js"></script>
<css file="__STATIC__/hdjs/hdjs.css" />
<css file="__STATIC__/hdjs/hdui.css" />
</head>

<include file="__PUBLIC__/head"/> 

<div class="content">
	<div class="main">
		<include file="__PUBLIC__/left"/>
		<!-- start right -->


<div class="right">
	<div class="now">
		<div class="now_l"></div>
		<div class="now_m">
			<span class="fl">类型管理</span>
			<span class="fr fabu"><a href="{|U:'Index/index'}">返回首页</a></span>
		</div>
		<div class="now_r"></div>
		<div class="clear"></div>
	</div>
	<form method="post" id="form">
	<table width="100%" border="0" cellspacing="0" cellpadding="0" class="list mat5">
	<tr>
		<td class="bgtt" width="60">类型ID</td>
		
		<td class="bgtt">类型名称</td>
		<td class="bgtt" width="88">操作</td>
	</tr>
	
	<foreach from="$data" key="$k" value="$v">
	<tr>
		<td>{$v.id}</td>		
		<td class="aleft" style="text-align: center;">{$v.typename}</td>
		<td>
			<a href="{|U:'Typeattr/index'}" class="shuxing">属性列表</a>
			<a href="{|U:'Type/editattr',array('id'=>$v['id'])}" class="admin_edit mar3">修改</a>
						
			<a href="{|U:'Type/del',array('id'=>$v['id'])}" class="admin_del" onclick="return pe_cfone(this, '删除')">删除</a>
		</td>
	</tr>
	</foreach>	
		
		
	</table>
	</form>
	<div class="page_cms">
		{$page}
	</div>	
</div>

		<div class="clear"></div>
	</div>
	<div class="foot">Copyright <span class="num">&copy;</span> 2014-2017 <a target="_blank" href="#"></a> 版权所有</div>
</div>
<script type="text/javascript"> 
$(function(){
	$(".list").find("tr").hover(
		function(){
			if ($(this).find("td").hasClass("bgtt")) return;
			$(this).find("td").css("background-color", "#ffffdd");
		},
		function(){
			if ($(this).find("td").hasClass("bgtt")) return;
			$(this).find("td").css("background-color", "#fff");
		}
	)
})
</script>


		<!-- end right -->



</body>
</html>	
